glm_options Derived Type

type, public :: glm_options

GLM controls. Component initialization and set_to_default agree.


Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: max_iteration_count = 100

Positive maximum number of completed coefficient updates.

real(kind=real64), public :: robust_weighting_constant = 4.685d0

Finite positive cutoff when robust weighting is enabled. Residuals are raw y - mu, so this has response units. No scale estimate or residual standardization is performed.

real(kind=real64), public :: tolerance = 1.0d-8

Finite positive absolute tolerance on maximum coefficient change. This is not a deviance or relative tolerance.

logical, public :: use_robust_weighting = .true.

Enable robust weights; set false for ordinary likelihood IRLS.


Type-Bound Procedures

procedure, public :: set_to_default => go_set_defaults

Restore all controls to their component defaults.

  • private subroutine go_set_defaults(this)

    Sets the defaults for the glm_options object.

    Arguments

    Type IntentOptional Attributes Name
    class(glm_options), intent(inout) :: this

    The glm_options object.